package com.helloaps.scheduling.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkCalendar {
    private LocalDate fromDate;
    private LocalDate toDate;

    @Override
    public String toString() {
        return fromDate + " - " + toDate;
    }
}
